package com.ttloner.admin.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author TTLoner
 * @date 2021/7/21 22:12
 * @description 自定义异常
 */
@ResponseStatus(value= HttpStatus.FORBIDDEN,reason = "用户太多")
public class UserTooManyException extends  RuntimeException{
    public UserTooManyException(String message){
        super(message);
    }
}
